Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

fix: change method for alloc string to buffer #777

Merged
merged 1 commit into from
Apr 29, 2019

Conversation

golee
Copy link
Contributor

@golee golee commented Apr 19, 2019

Fix #776

String.length is not appropriate for calculating buffer size when non-alphabet letter is included in content.
Change the method Buffer.alloc to Buffer.from as directed by the nodejs document.

String.length is not appropriate for calcuating buffer size
when non-alphabet letter is included in content.
Change the method Buffer.alloc to Buffer.from
as directed by the nodejs document.
@msftclas
Copy link

msftclas commented Apr 19, 2019

CLA assistant check
All CLA requirements met.

@codecov
Copy link

codecov bot commented Apr 19, 2019

Codecov Report

Merging #777 into master will increase coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #777      +/-   ##
==========================================
+ Coverage   87.03%   87.07%   +0.04%     
==========================================
  Files         125      125              
  Lines        4396     4396              
  Branches      834      834              
==========================================
+ Hits         3826     3828       +2     
+ Misses        568      566       -2     
  Partials        2        2
Impacted Files Coverage Δ
src/electron/providers/storage/localFileSystem.ts 77.27% <100%> (ø) ⬆️
.../react/components/common/messageBox/messageBox.tsx 97.56% <0%> (+4.87%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7399523...3ce279b. Read the comment docs.

Copy link
Contributor

@JacopoMangiavacchi JacopoMangiavacchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tbarlow12
Copy link
Contributor

LGTM. Going to close and re-open to trigger the build

@tbarlow12 tbarlow12 closed this Apr 29, 2019
@tbarlow12 tbarlow12 reopened this Apr 29, 2019
@wbreza wbreza changed the base branch from master to develop April 29, 2019 15:05
Copy link
Contributor

@wbreza wbreza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wbreza wbreza merged commit dba3130 into microsoft:develop Apr 29, 2019
wbreza pushed a commit that referenced this pull request Apr 29, 2019
String.length is not appropriate for calculating buffer size
when non-alphabet letter is included in content.
Change the method Buffer.alloc to Buffer.from as directed by the nodejs document.
@golee golee deleted the issue-776-broken-local-projectfile branch June 20, 2019 04:39
elizabethhalper pushed a commit to riagarg/VoTT that referenced this pull request Aug 20, 2019
author Wallace Breza <[email protected]> 1556573964 -0700
committer Elizabeth Halper <[email protected]> 1566326008 -0700

parent e4ee4cd
author Wallace Breza <[email protected]> 1556573964 -0700
committer Elizabeth Halper <[email protected]> 1566326007 -0700

parent e4ee4cd
author Wallace Breza <[email protected]> 1556573964 -0700
committer Elizabeth Halper <[email protected]> 1566326004 -0700

parent e4ee4cd
author Wallace Breza <[email protected]> 1556573964 -0700
committer Elizabeth Halper <[email protected]> 1566325986 -0700

parent e4ee4cd
author Wallace Breza <[email protected]> 1556573964 -0700
committer Elizabeth Halper <[email protected]> 1566325973 -0700

Release 2.1.0 (microsoft#790)

Updates package version and changelog for 2.1.0 release

changed line

refactor: Remove editor footer

Dummy commit to kick off build again

doc: Add bug & feature templates (microsoft#780)

Adds bug and feature github templates

Create CODE_OF_CONDUCT.md (microsoft#779)

Adds code of conduct

docs: updates to readme and changelog (microsoft#781)

Minor updates and corrections to the main readme and changelog.

fix: Fix display of tag color picker (microsoft#782)

Resolves issue of tag color picker not being shown on alt-click or color-click + edit button. Also adds several tests for increased test coverage of tagInput.tsx

feat: Add CSV Exporter (microsoft#757)

Adds CSV export provider

fix: change method for alloc string to buffer (microsoft#777)

String.length is not appropriate for calculating buffer size
when non-alphabet letter is included in content.
Change the method Buffer.alloc to Buffer.from as directed by the nodejs document.

fix: Updates backwards compat & fixes cntk export image bug (microsoft#789)

Fixes an issue where the images exported out of a video file were missing file extension for video projects.

Release 2.1.0 (microsoft#790)

Updates package version and changelog for 2.1.0 release

changed line

rebase upstream dev
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants